const {Commodity} = require("../../../models/commodity");

module.exports = async (req, res) => {
    const {Art_No} = req.body;
    try{
       const remove = await Commodity.remove({Art_No:Art_No});
       res.send({errCode:"0",msg:"下架成功！"})
    }catch(e){
        res.status(400).send({errCode:"1",msg:"请求错误"})
    }
}